// types/support.ts
export interface SupportTicket {
  id: number
  title: string
  description: string
  priority: 'low' | 'medium' | 'high' | 'urgent'
  status: 'open' | 'in-progress' | 'resolved' | 'closed' | 'cancelled'
  category: string
  assigneeId?: number
  reporterId: number
  organizationId: number
  createdAt: string
  updatedAt: string
  resolvedAt?: string
  slaDeadline?: string
}

export interface Announcement {
  id: number
  title: string
  content: string
  type: 'info' | 'warning' | 'critical'
  status: 'draft' | 'published' | 'archived'
  publishAt?: string
  expireAt?: string
  createdBy: number
  createdAt: string
  updatedAt: string
}

export interface KnowledgeBaseArticle {
  id: number
  title: string
  content: string
  category: string
  tags: string[]
  status: 'draft' | 'published' | 'archived'
  viewCount: number
  helpfulCount: number
  notHelpfulCount: number
  createdAt: string
  updatedAt: string
  createdBy: number
}